<template>
  <m-container>
    <m-doc-component-doc title="抽屉表单组件(m-form-drawer)" :props="props" :events="events" :methods="methods" :slots="slots">
      <m-doc-demo-block title="抽屉表单组件" :meta="code1">
        <template #desc>
          <p>抽屉表单组件使用<code>m-drawer</code>和<code>m-form</code>一起封装的对话框形式的表单组件，用户只需要关注表单所需的action以及业务控件即可。</p>
        </template>
        <demo1 />
      </m-doc-demo-block>
    </m-doc-component-doc>
  </m-container>
</template>
<script setup lang="ts">
  import props from './apis/_props'
  import events from './apis/_events'
  import methods from './apis/_methods'
  import slots from './apis/_slots'
  import demo1 from './demos/1.vue'
  import code1 from './demos/1.vue?raw'
</script>
